package com.lboyang.seckill.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Description: 秒杀信息，发送给RabbitMQ
 * @Author: Aiguodala
 * @CreateDate: 2021/5/30 12:12
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class SeckillMessage {

    /**
     * 秒杀用户
     */
    private User user;

    /**
     * 商品ID
     */
    private Long goodsId;

}
